package pers.echo.tester.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import pers.echo.tester.entity.TblBulletins;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;

/**
 * <p>
 * ????? Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2020-09-17
 */
public interface TblBulletinsMapper extends BaseMapper<TblBulletins> {

    @Select("SELECT * FROM TBL_BULLETINS WHERE F_TYPE=#{resType} and rownum=1 ")
    TblBulletins getFirstBulletins(@Param("resType") String resType);

}
